﻿using Blog.Core.Domain.Dictionary;
using Blog.Core.DTO.ViewModel;
using Blog.Core.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Blog.Core.DTO.ViewModel.Dictionary;

namespace Blog.Core.IServices.Dictionary
{
    /// <summary>
    /// 字典类型表的服务层接口
    /// </summary>
    public interface IDictTypeService:IBaseService<DictType>
    {
        Task<ResponseResultDTO<PageDTO<DictType>>> GetDictType(int pageindex, int pagesize, string name);
        Task<ResponseResultDTO<int>> PostDictType(PostDictTypeDTO dto);
        Task<ResponseResultDTO<int>> PutDictType(PostDictTypeDTO dto);
    }
}
